package cn.youwan.market;

import android.os.Bundle;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.graphics.drawable.Drawable;
import android.view.Menu;

@SuppressLint("NewApi") public class AppDetailActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_app_detail);
		Drawable barBg = getResources().getDrawable(R.drawable.barbg);
		getActionBar().setBackgroundDrawable(barBg);
		getActionBar().setIcon(R.drawable.ic_drawer);
		getActionBar().setTitle("大掌门");
	}

	//kjaaaa
	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.app_detail, menu);
		return true;
	}

}
